package com.springboot.chongwu.service;

import com.springboot.chongwu.entity.Lingyang;
import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot.chongwu.entity.view.LingyangView;
import com.springboot.chongwu.qpage.QPage;
import com.springboot.chongwu.util.ResultView;

/**
 * <p>
 * 宠物领养表 服务类
 * </p>
 *
 * @author author
 * @since 2024-09-25
 */
public interface ILingyangService extends IService<Lingyang> {

    /**
     * 领养列表
     * @param qPage
     * @param obj
     * @return
     */
    ResultView getPageList(QPage qPage, LingyangView obj);


    /**
     * 审核
     * @param lingyang
     * @return
     */
    ResultView applove(Lingyang lingyang);


    /**
     * 申请领养
     * @param lingyang
     * @return
     */
    ResultView shenqing(Lingyang lingyang);


    /**
     * 领养列表
     * @param obj
     * @return
     */
    ResultView getSelect(LingyangView obj);


}
